//
//  CarForum_PostList.m
//  CarProjectTest
//
//  Created by lanou on 15/10/24.
//  Copyright © 2015年 完美的宇gogo. All rights reserved.
//

#import "CarForum_PostList.h"

@implementation CarForum_PostList



-(void)setValue:(id)value forKey:(NSString *)key
{
    if ([key isEqualToString:@"postList"])
    {
        _postList = [NSMutableArray array];
        for (NSDictionary *dic in value)
        {
            CarForum_HotModel *model = [[CarForum_HotModel alloc]init];
            [model setValuesForKeysWithDictionary:dic];
            [_postList addObject:model];
        }
    }
    else
    {
        [super setValue:value forKey:key];
    }
}


@end
